<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<html>
<head>
<title>驾校报名</title>
<script type="text/javascript" src="${path}/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="${path}/js/H-ui.js"></script>
<link href="${path}/css/H-ui.css" rel="stylesheet" type="text/css" />
<link href="${path}/css/font/font-awesome.min.css" rel="stylesheet"
	type="text/css" />
<link href="${path}/lib/iconfont/iconfont.css" rel="stylesheet"
	type="text/css" />

<style type="text/css">
</style>


</head>

<body>
	<nav class="breadcrumb">
		<i class="iconfont">&#xf012b;</i> 首页 <span class="c-gray en">&gt;</span>
		个人信息 <span class="c-gray en">&gt;</span> 学员中心 <a
			class="btn btn-success radius r mr-20"
			style="line-height: 1.6em; margin-top: 3px"
			href="javascript:location.replace(location.href);" title="刷新"><i
			class="icon-refresh"></i></a>
	</nav>

	<div class="pd-20">
		<form action="${path }/doEditGrade" method="post"
			class="form form-horizontal">
			<table
				class="table table-border table-bordered table-bg table-hover table-sort">
				<thead>
					<tr class="text-c">
						<th width="20%">姓名：${student.name }</th>
						<th  width="20%">性别：${student.sex}</th>
						<th  width="20%">身份证：${student.idcard}</th>
					</tr>
					<tr class="text-c">
						<th width="20%">类型</th>
						<th width="20%">阶段</th>
						<th>成绩</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="item" items="${gradeList}" varStatus="status" >
						<tr class="text-c">
							<td>${item.subjectCate}</td>
							<td>${item.subjectName}</td>
							<td><input class="input-text" type="number" value="${item.grade}" name="grades[${status.index }].grade" > 
							<input type="hidden" value="${item.id}" name="grades[${status.index }].id" > </td>
						</tr>
					</c:forEach>
					<tr class="text-c" >
							<td colspan="3"> <input class="btn btn-success" type="submit" value="保存" > </td>
						</tr>
				</tbody>
			</table>
		</form>
	</div>


	<script type="text/javascript">
		
	</script>

</body>

</html>